package com.syni.mdd.sjb.common.component.mybatis.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcc
 * @since 2020-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WxExternalContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String corpid;

    private String externalUserid;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 企业简称
     */
    private String corpName;

    /**
     * 企业全称
     */
    private String corpFullName;

    /**
     * 客户职位
     */
    private String position;


    /**
     * 0：女，1：男
     */
    private Integer gender;


    /**
     * 客户备注
     */
    private String followRemark;

    /**
     * 客户描述
     */
    private String followDescription;

    /**
     * 添加时间
     */
    private LocalDateTime createTime;

    /**
     * 所打标签的分组名称
     */
    private String groupName;


    /**
     * 标签名称
     */
    private String tagName;

    /**
     * 备注企业名称
     */
    private String remarkCorpName;


    /**
     * 标识来源
     */
    private Integer addWay;


    /**
     * 创建时间
     */
    private LocalDateTime newTime;




    public static final String ID = "id";

    public static final String CORPID = "corpid";

    public static final String EXTERNAL_USERID = "external_userid";

    public static final String NAME = "name";

    public static final String CORP_NAME = "corp_name";

    public static final String CORP_FULL_NAME = "corp_full_name";

    public static final String POSITION = "position";

    public static final String GENDER = "gender";

    public static final String NEW_TIME = "new_time";

}
